import request from "@/utils/axiosBdchats"

export function wechatLogin() {
    return request({
        url: "/weixin/auth/login",
        method: "get"
    });
}

export function getCode(data){
    return request({
        url: '/basic/randcode/sendSms1',
        method: 'get',
        params: data
    })
}

export function userBinding(data) {
    return request({
        url: '/user/bandPhone',
        method: 'get',
        params: data
    })
}

export function getUserInfo() {
    return request({
        url: "/user/get",
        method: "get"
    });
}

export function getUserMoney() {
    return request({
        url: "user/getUserMoeny",
        method: "get"
    });
}

export function getInviteRecord(data) {
    return request({
        url: '/recommend/recommendUser/list',
        method: 'get',
        params: data
    })
}


